package com.zky.product.mapper;

import com.zky.product.domain.Product;
import com.zky.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2023-02-22
 */
public interface ProductMapper extends BaseMapper<Product> {

    void offSale(@Param("id") List<Long> ids, @Param("data") Date date);

    void onsale(@Param("id")Long id, @Param("data")Date date);
}
